package exp2;

/**
 * Created by Veronica on 2017/4/18.
 */
import java.util.Arrays;

public class PrintArray {
    //打印原始数组的值
    public static void main(String[] args) {
        int arr[] = {1,2,3,4,5,6,7,8};
  /*      for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + "\n");
        }*/

        for(int i: arr)
            System.out.println(i+", ");

    }
}
